//
//  Person.m
//  <6.1>RaiseMan
//
//  Created by chen on 16/9/7.
//  Copyright © 2016年 tyrad. All rights reserved.
//

#import "Person.h"

@implementation Person

//@property(nonatomic, copy)NSString * personName;
//@property(nonatomic, assign)float  expectedRaise;

- (instancetype)init
{
    self = [super init];
    if (self) {
        _personName = @"new person";
        _expectedRaise = 0.05;
    }
    return self;
}


- (void)setNilValueForKey:(NSString *)key{
    
    if ([key isEqualToString:@""]) {
        [self setExpectedRaise:0];
    }else {
        [super setNilValueForKey:key];
    }
    
}


@end
